<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ article.title }}</title>
</head>
<body>

<h2>{{ article.title }}</h2>
<h5>{{ article.content }}</h5>
<a href="{% url 'blog:first'%}">返回首页</a>
<a href="{% url 'blog:edit_page' article.id%}">修改文章</a>
<form action="{% url 'blog:edit_delete' %}" method="post">
    {% csrf_token %}
    <input type="hidden" name="article_id" value="{{ article.id }}">
    <input type="submit" value="删除文章">
</form>
</body>
</html>